<template>
  <div class="tabbar">
    <van-tabbar
      v-model="active"
      placeholder
    >
      <van-tabbar-item to="/home">
        <i class="iconfont icon-Outpatient-Department"></i>
        <div class="box">预约挂号</div>
      </van-tabbar-item>
      <van-tabbar-item to="/order">
        <i class="iconfont icon-rilicalendar107"></i>
        <div class="box">挂号记录</div>
      </van-tabbar-item>
      <van-tabbar-item to="patient">
        <i class="iconfont icon-order-manager"></i>
        <div class="box">就诊人</div>
      </van-tabbar-item>
      <van-tabbar-item to="mycenter">
        <i class="iconfont icon-geren13"></i>
        <div class="box">个人中心</div>
      </van-tabbar-item>
    </van-tabbar>
  </div>
</template>
<script>
export default {
  data: () => ({
    active: 0
  })
}
</script>
<style lang="scss" scoped>
</style>
<style lang="scss">
.tabbar {
  .van-tabbar-item__text {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
    i {
      font-size: 9px;
    }
  }
}
</style>
